/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __ENCODER_H__
#define __ENCODER_H__

/* Includes ------------------------------------------------------------------*/
#include "stm8s.h"

/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* Exported macro ------------------------------------------------------------*/
/* Exported functions ------------------------------------------------------- */

void Encoder_Init(void);
u32 Encoder_GetStatus(void);
void Encoder_SetSampleTimer(u16 iPrescale);
u16 Encoder_GetSampleTimer(void);

#endif /* __ENCODER_H__ */

